package com.peak.distribution.vo.goods;

import com.peak.distribution.enums.Constants;
import com.peak.distribution.enums.GoodsImageType;
import com.peak.spring.boot.api.web.IdVo;
import com.peak.spring.boot.core.mapper.Format;
import com.peak.spring.boot.core.mapper.Format.TransferFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class DisGoodsImageVo extends IdVo {

	private static final long serialVersionUID = Constants.DISTRIBUTION_VERSION;
	
	/** 类型：列表图片,缩略图,详情介绍图片 */
	@Format(format = TransferFormat.ENUM)
	private GoodsImageType type;
	
	/** 大图  */
	private String imageUrl;
	
	/** 排序编号  */
	private Integer sortNo;
}
